package com.net.xpay.common.service;

import com.net.xpay.common.domain.SafePayBookPreApplyRecord;
import com.net.xpay.common.model.SafePayBookPreApplyModel;

/**
 * 预申请安全发记账本服务
 */
public interface SafePayBookPreApplyService {

    /**
     * 申请开通记账本
     */
    SafePayBookPreApplyRecord applySafePayBook(SafePayBookPreApplyModel applyModel);

    /**
     * 记账本开通成功通知
     */
    void onBookCreated(String outBizNo, String agreementNo, String extCardInfo, String accountBookId);


    void mountBook(Long id);
}
